<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo $this->cfg['title'];?><?php if (!empty($this->htitle)) echo " - " . $this->htitle;?></title>
<link href="css/front.css" rel="stylesheet" type="text/css" />
</head>

<body>
<!--head start-->
<div class="header">
	<div class="head_top line_bg">
    	<div class="head_top_content">
            <div class="top_l f_l"><i class="icon_house f_l icon_all"></i><span class="txt f_l">Hello, welcome to visit Shanghai Forum</span></div>
            <div class="f_r top_r">
                <ul class="top_r_ul">
                    <li class="f_l"><i class="icon_sina f_l icon_all"></i><a class="txt f_l" href="<?php echo $this->cfg['weibourl'];?>" title="Sina Weibo" target="_blank">Sina Weibo</a></li>
                    <li class="f_l line icon_all"></li>
                    <li class="f_l"><i class="icon_site f_l icon_all"></i><a class="txt f_l" href="#fav" onclick="javascript:return addFavorite(location.href,document.title);" title="AddFavorites">AddFavorites</a></li>
                    <li class="f_l line icon_all"></li>
                    <li class="f_l"><a href="<?php echo dirname($this->fullUrl);?>/index.php" title="English">中文</a></li>
                </ul>                
            </div>
            <div class="clear"></div>
        </div>        
    </div>
    <div class="head_logo_nav">
        <div class="head_logo f_l">
            <a href="<?php echo $this->baseUrl;?>/" title="Shanghai FORUM"><img src="images/logo.jpg" alt="Shanghai FORUM" width="168" height="66" /></a>
        </div>
                <div class="head_nav f_l">
    		<ul class="head_nav_ul" id="head_nav_ul">
            	<li class="li_nav <?php if ($this->hmenu=='gylt'){?>selected<?php }?>">
                	<a class="nav_a_bg nav_a_about"  href="<?php echo $this->url($this->baseUrl, "news", "list", "type=" . $this->cfg['listtype']['gylt']);?>" title="<?php echo _("index_gylt");?>"></a>
                    <div class="li_nav_div" style="width:<?php echo getChar($this->idxtypes['gylt']);?>px;">
                    	<ul class="li_nav_ul">
                    	<?php 
                    	foreach ($this->idxtypes['gylt'] as $v)
                    	{
                    		$url = $this->url($this->baseUrl, "news", "list", "cid=" . $v['id']);
                    		print<<<EOT
                        	<li><a href="$url" title="{$v['name']}"><strong>·</strong> {$v['name']}</a></li>
EOT;
}?>
                        </ul>
                    </div>
                </li>
                <li class="li_nav <?php if ($this->hmenu=='xwzx'){?>selected<?php }?>">
                	<a  class="nav_a_bg nav_a_news"  href="<?php echo $this->url($this->baseUrl, "news", "list", "type=" . $this->cfg['listtype']['xwzx']);?>" title="<?php echo _("list_xwzx");?>"></a>
                    <div class="li_nav_div" style="width:<?php echo getChar($this->idxtypes['xwzx']);?>px;">
                    	<ul class="li_nav_ul">
                    	<?php 
                    	foreach ($this->idxtypes['xwzx'] as $v)
                    	{
                    		$url = $this->url($this->baseUrl, "news", "list", "cid=" . $v['id']);
                    		print<<<EOT
                        	<li><a href="$url" title="{$v['name']}"><strong>·</strong> {$v['name']}</a></li>
EOT;
}?>
                        </ul>
                    </div>
                </li>
                <li class="li_nav <?php if ($this->hmenu=='xshd'){?>selected<?php }?>">
                <a  class="nav_a_bg nav_a_prog" href="<?php echo $this->url($this->baseUrl, "news", "list", "type=" . $this->cfg['listtype']['xshd']);?>" title="<?php echo _("index_xshd");?>"></a>
                        <div class="li_nav_div" style="width:<?php echo getChar($this->idxtypes['xshd']);?>px;">
                    	<ul class="li_nav_ul">
                    	<?php 
                    	foreach ($this->idxtypes['xshd'] as $v)
                    	{
                    		$url = $this->url($this->baseUrl, "news", "list", "cid=" . $v['id']);
                    		print<<<EOT
                        	<li><a href="$url" title="{$v['name']}"><strong>·</strong> {$v['name']}</a></li>
EOT;
}?>
                        </ul>
                    </div>
                </li>
                
                
                
                
                
                <li class="li_nav <?php if ($this->hmenu=='ltrw'){?>selected<?php }?>">
                <a class="nav_a_bg nav_a_people" href="<?php echo $this->url($this->baseUrl, "news", "list", "type=" . $this->cfg['listtype']['ltrw']);?>" title="<?php echo _("index_ltrw");?>"></a>
                        <div class="li_nav_div" style="width:<?php echo getChar($this->idxtypes['ltrw']);?>px;">
                    	<ul class="li_nav_ul">
                    	<?php 
                    	foreach ($this->idxtypes['ltrw'] as $v)
                    	{
                    		$url = $this->url($this->baseUrl, "news", "list", "cid=" . $v['id']);
                    		print<<<EOT
                        	<li><a href="$url" title="{$v['name']}"><strong>·</strong> {$v['name']}</a></li>
EOT;
}?>
                        </ul>
                    </div>
                </li>
                
                <li class="li_nav <?php if ($this->hmenu=='publication'){?>selected<?php }?>"><a class="nav_a_bg nav_a_public" href="<?php echo $this->url($this->baseUrl, "publication", "list", "");?>" title="<?php echo _("index_pub");?>"></a>
                <div class="li_nav_div" style="width:<?php echo getChar($this->idxtypes['publication']);?>px;">
                    	<ul class="li_nav_ul">
                    	<?php 
                    	foreach ($this->idxtypes['publication'] as $v)
                    	{
                    		$url = $this->url($this->baseUrl, "publication", "list", "typeid=" . $v['id']);
                    		print<<<EOT
                        	<li><a href="$url" title="{$v['name']}"><strong>·</strong> {$v['name']}</a></li>
EOT;
}?>
                        </ul>
                    </div>
                    </li>
                
                
                
                <li class="li_nav <?php if ($this->hmenu=='media'){?>selected<?php }?>"><a class="nav_a_bg nav_a_mult" href="<?php echo $this->url($this->baseUrl, "media", "list", "");?>" title="<?php echo _("index_media");?>"></a>
                    <div class="li_nav_div" style="width:80px;">
                    	<ul class="li_nav_ul">
                        	<li><a href="<?php echo $this->url($this->baseUrl, "media", "list", "");?>" title="VIDEO"><strong>·</strong>Video</a></li>
                        	<li><a href="<?php echo $this->url($this->baseUrl, "media", "list", "type=image");?>" title="PHOTO"><strong>·</strong>Photo</a></li>
                        </ul>
                    </div>
                    </li>
                
                <li class="li_nav <?php if ($this->hmenu=='tzgg'){?>selected<?php }?>"><a class="nav_a_bg nav_a_ann" href="<?php echo $this->url($this->baseUrl, "news", "list", "cid=" . $this->cfg['listtype']['tzgg']);?>" title="<?php echo _("index_tzgg");?>"></a></li>
                
                <li class="li_nav"><a  class="nav_a_bg nav_a_e-con" href="<?php echo $this->meeturl;?>" title="E-CONFERENCE" target="_blank"></a></li>
            </ul>
        </div>
        <form method="post" action="<?php echo $this->url($this->baseUrl, "search");?>">
        <div class="f_r head_input">
        	<div class="input_box f_l icon_all">
            	<input name="query" type="text" class="f_l icon_all" />
            </div>
            <input name="btn" value="" type="submit" class="f_l head_btn icon_all" />
            <div class="clear"></div>
        </div>
        </form>
        <div class="clear"></div>
    </div>
</div>
<!--head end-->